SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0195f484ac12e4c6496925a39dfe8c183b83a6c1a7747267ba2d4091d0856f8f' 
  AND token = '0CdI+YDfspV8LloBplpbeU8r4pycJZ1EYCunMEqJNfU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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