SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1cfcbe7dad0aff515847af4d37b54165a0b46e84cb23b09af86d9208a78d53c' 
  AND token = 'ZvvDgeMGHrwBvxXTuCDpkXGqCRClHsZo62e2ZJ1158o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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