SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87a10d5ad77a068ec0eaa1a685b8b4171686c0828fb6758242850e6645e7337f' 
  AND token = 'IShkvZ/l5A0ogyJykQ3ObmkPe3A73HrGJuBMUTbc99I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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