SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23eb62fc6a1c42eb6b3ac6a71911a3de730b50fa034c2d5af09c9b7cb62e2e3f' 
  AND token = 'CmzS19+tMCJrbUwv0/ykD8HpP7qBTN5fW/wwnHX9ZmM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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