SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1fdf90e546519db3c48ee114d6ca25e7e002a067d1919e2aaffca81b4e351f7c' 
  AND token = 'OEdoA9RiiPAwGAbY+ncQ1skjkGC1EW4E6T/QwtNuZLQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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