SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa0ef87ab2294b100668d3fda00373fdff44ec16dc9f235d73a5df3c9af4bbfb' 
  AND token = 'd4z2qJfrzF3X6JSbhJZMPydBXmeAUzpUW/nWPNc3f+Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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