SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a37915991cf041d5fdb5798bea6af4f8c361685438df3277a87148ed2b65435' 
  AND token = 'IXOu3bbbnTns9rJVF78Zq2xE1Jskmu+m+uEE8r8KgB8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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