SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6d0f79ec710740aee2d033228c3c04c89d7688aacf681c47ccc05deebd73f955' 
  AND token = 'sjrtFbm6iFM3Vu6g2Y8XzloqpAXXr2Q1cHQdVE/FHpQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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