SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5f40395aa4501b06c1ac94a2b712c4713da0d80f51a764e1601ee3bf9ea904f' 
  AND token = 'q37+iyVPoGrdrCr3bOpMbfh7Y9jU964cSCuUuhZOkj0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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