SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f63f95433169406de5c038f777b61a5a3cf2719d3f1a73b901829947f4aff61' 
  AND token = '2s2D6+yHe3shROaVl1uaB8IN1obmHEPYbda4UTro1G0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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