SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8bb30a724efc8bf24cdabe1fc0489af3ba23e568860a0ed6023b5b89ced4ab5d' 
  AND token = '5rTcDXQ4zJIkUGGAHl885NQxyCztwiR58ngqGoqZwP0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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