SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e21a9cc542115be78f42213d08767cfa9e8c8d7babaa7b156a2b621aec9999c1' 
  AND token = 'PNlqKc8AIpyXsB7olQt/ib7Wv5iR8pMm4vl8zKFDUNc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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