SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '571ce500dd99f8ffb258983cd0d062be5d4eed6ed0d8519de915c2876fe9a347' 
  AND token = 'D8ksou7R/OSZ6mkT/1YIIBmyNB5rULrtJZ2mPYVKWK4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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