SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c161c1841f23c706f5dc49faa5c2f77e5256c6ef67117b192758f2e33f081dd6' 
  AND token = '2EpvQfWUojxCNTvFNqhE/HO6nj3WyzvL2h0URL9LF0k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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