SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ed2583c42aa5c5c3129377866d2c222ade52bba9d61a9425c37f888a722d6ac' 
  AND token = 'MKQ9gvY6ZgFdCHYkkwwH4pGiMh01nbEKbY8ks9PAiiQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}