SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2e5b43e9a787a16194b5437c788a2dfa498421c9a51dd0533a256241ad187dc' 
  AND token = 'sy5/YTD+P43UL3pnGC9bvvmEvla18CCDZLUaxt3JIls=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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