SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '031a23b25e1362f01cbe73c91f9474bf31513c4cc5adea4dce661af585775a3d' 
  AND token = 'v9W6ydoJFCRLZ6cQhc1posXmI3r2O6VFzkLLIbLnHco=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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