SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ddfa162447c54fc49bd8d6a7d3278b41041f66234ab1c96c1a3f7f1144ebd02' 
  AND token = 'LMdTZ7QyomPDYdOb9D0METmm0b0p2/H/PLrO1bbG2Yo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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