SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5065ffaf3a8897d16ad57f473435487eb05c220f8ca8683f8534b6359e53fe8' 
  AND token = 'lQTcQ1yMghZVsnkgSnM1RknXvdBLKUXwCLzSkZ7VAiY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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