SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a0ad025b957d4531beb04a8478d7642fe50de1cf70eafb286a5882e8ba8ae3f' 
  AND token = 'ViXLXVVuiJC64EEWl80pL/culOZEUSl/IsWMm3YZBig=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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