SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21b0f81c4a5892fdb09b4c77462130eb201027e5fd2e5e5067990a3e1435bde7' 
  AND token = 'IjpMa6zQosh1JBH2j64tPYLP4hK++dYmVc8PUfuVRTs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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