SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1fe90d02475e58c7d9750d59392a7a50604f769983874b1d11d57e98a3a4fa1' 
  AND token = 'cYJKqC0y9qDC+A7C/cbsUiH/JhWTpzJ8gCgEH7KG8q8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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