SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edcc049181547fce5efa7d7d7234487f35387988760e1715f951f44ff1dd0d64' 
  AND token = 'g86gnNLco/77PBmNFxUqRgPpolZxQb1QPC7o/F85XMc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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