SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27d02ea08a15eaabc79f0000e3ab9df7f9a3be3891779f099f883eeba8e86bc3' 
  AND token = '1t96smR4Leu5jbDclb6AD0v/fRuGyu2ZRyGn0dOKXcM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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