SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5957ce240dff2ea72ca6734607472bf7baaaaa3697d4b5295c774949b6dc4a6' 
  AND token = 'vIEX5RInFgo31fnPjR0Fc4A/DFVTTVHxIXpbMo0YVhw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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