SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ad7f441f6cd1b85843f2cf352e06307259254f28486620b166a0fff78ce1118' 
  AND token = '5AS6GOVBS55p8vxMkE7RGOfOkmLLVaDUE6hb2z7BSrk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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