SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '52e1ef4ac05bcc532cdfe4486a0b8deb131b04518f4818cbd0f3947f13d1068f' 
  AND token = '84RfPfZH4Qs7xOA0qH+8YRSE/rQXeb0y2QTldljod3o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}